package com.ctshk.rpc.booking.req.outside.hotel.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 站外酒店附带服务
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data
@ApiModel(value="SupplierOutsideOrderHotelServiceReq对象", description="站外酒店附带服务")
public class SupplierOutsideOrderHotelServiceReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "所属入住信息ID")
    private Long checkInId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "服务内容")
    private String serviceName;

    @ApiModelProperty(value = "起始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;

    @Valid
    @NotEmpty(message = "酒店附加服务旅客类型列表不能为空")
    @ApiModelProperty(value = "酒店附加服务旅客类型列表")
    private List<SupplierOutsideOrderHotelServiceTouristTypeReq> supplierOutsideOrderHotelServiceTouristTypeReqList;

    @Valid
    @NotEmpty(message = "酒店附加服务旅客列表不能为空")
    @ApiModelProperty(value = "酒店附加服务旅客列表")
    private List<SupplierOutsideOrderHotelServiceTouristReq> supplierOutsideOrderHotelServiceTouristReqList;

}
